package com.wen.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.wen.pojo.Purchase;
import com.wen.utils.PageBean;
import com.wen.utils.Result;

public interface PurchaseService{

    //插入采购单
    Result addCh(Purchase purchase);

    //分页查询菜单单
    PageBean<Purchase> allPurchaseList(Integer pageNum, Integer pageSize, Purchase purchase);

    //删除采购单
    Result delBuyList(Integer buyId);

    //修改采购单
    Result updBuyList(Purchase purchase);

    //生成入库单
    Result addInWare(Purchase purchase);
}
